import { fetch } from '../util/http.js';

/**
 * 获取投票信息
*/
export function getVoteData(data){
  return fetch({
    url:'voteTopic/web/list',
    method:'post',
    data:data
  });
}

/**
 * 获取投票详情数据
*/
export function getVoteDetails(data){
  return fetch({
    url:'voteTopic/getTopic',
    method:'post',
    data:data
  });
}